<%@ include file="/WEB-INF/jsp/includes/include.jsp"%>

<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>NoAssertions.com</title>
	<link rel="stylesheet" href="<fmt:message bundle="${mess}" key="baseUrl" />css/reset.css" />
	<link rel="stylesheet" href="<fmt:message bundle="${mess}" key="baseUrl" />css/text.css" />
	<link rel="stylesheet" href="<fmt:message bundle="${mess}" key="baseUrl" />css/960.css" />
	<link rel="stylesheet" href="<fmt:message bundle="${mess}" key="baseUrl" />css/nastyle.css" />
	<link rel="stylesheet" href="<fmt:message bundle="${mess}" key="baseUrl" />css/validationEngine.jquery.css" type="text/css" media="screen" charset="utf-8" />
	
	<script type="text/javascript" src="<fmt:message bundle="${mess}" key="baseUrl" />scripts/jquery.js"></script>
	<script type="text/javascript" src="<fmt:message bundle="${mess}" key="baseUrl" />scripts/jquery.validationEngine-en.js"></script>
	<script type="text/javascript" src="<fmt:message bundle="${mess}" key="baseUrl" />scripts/jquery.validationEngine.js"></script>
	
	<script type="text/javascript">
	$(document).ready(function() {
		 $("#riderForm").validationEngine()
		})
	</script>
</head>
<%@ include file="/WEB-INF/jsp/includes/bodyheader.jsp"%>
		<!--  start center section -->
		<div id="centerSection" class="grid_12">	
			<div class="grid_2 alpha">
				<%@ include file="/WEB-INF/jsp/includes/usermenu.jsp"%>
			</div>
			<div class="grid_7">
			<h2>New User</h2>
			<c:if test="${not empty validationErrors}"> <p class="error">It appears as if something went wrong: ${validationErrors}</p></c:if>				
			<form id="riderForm" action="<fmt:message bundle="${mess}" key="servletUrl" />rider" enctype="multipart/form-data" method="post">
					<p>All measurements should be entered in centimeters with up to double digit precision. For example, your height might be entered as 182.38 if you are six feet tall. If you need help taking measurements, be sure to refer to the <b><a href="<fmt:message bundle="${mess}" key="servletUrl" />measure">How To Measure guide.</a></b></p>
					<div class="label">Total Body Height:</div>
					<div class="input">
						<input id="totalbodyheight" class="validate[required,custom[onlyDouble]" type="text" name="totalbodyheight" value="${totalbodyheight}"/>
					</div>
					<div class="label">Sternal Notch:</div>
					<div class="input">
						<input id="sternalnotch" class="validate[required,custom[onlyDouble]]" type="text" name="sternalnotch" value="${sternalnotch}"/>					
					</div>
					<div class="label">Shoulder Width:</div>
					<div class="input">
						<input id="shoulderwidth" class="validate[required,custom[onlyDouble]]" type="text" name="shoulderwidth" value="${shoulderwidth}"/>
					</div>	
					<div class="label">Total Arm Length:</div>
					<div class="input">
						<input id="totalarm" class="validate[required,custom[onlyDouble]]" type="text" name="totalarm" value="${totalarm}"/>
					</div>					
					<div class="label">Humerus:</div>
					<div class="input">
						<input id="humerus" class="validate[required,custom[onlyDouble]]" type="text" name="humerus" value="${humerus}"/>
					</div>
					<div class="label">Forearm:</div>
					<div class="input">
						<input id="forearm" class="validate[required,custom[onlyDouble]]" type="text" name="forearm" value="${forearm}"/>
					</div>
					<div class="label">Inseam:</div>
					<div class="input">
						<input id="inseam" class="validate[required,custom[onlyDouble]]" type="text" name="inseam" value="${inseam}"/>
					</div>
					<div class="label">Femur:</div>
					<div class="input">
						<input id="femur" class="validate[required,custom[onlyDouble]]" type="text" name="femur" value="${femur}"/>
					</div>
					<div class="label">Tibia:</div>
					<div class="input">
						<input id="tibia" class="validate[required,custom[onlyDouble]]" type="text" name="tibia" value="${tibia}"/>
					</div>
					<div class="label">Foot Length:</div>
					<div class="input">
						<input id="footlength" class="validate[required,custom[onlyDouble]]" type="text" name="footlength" value="${footlength}"/>
					</div>
					<div class="label">Trunk:</div>
					<div class="input">
						<input id="trunk" class="validate[required,custom[onlyDouble]]" type="text" name="trunk" value="${trunk}"/>
					</div>
					<div class="label">Notes:</div>
					<div class="input">
						<textarea id="notes" class="validate[length[0,250]]" name="notes" rows="5" cols="50">${notes}</textarea>
					</div>
					<fieldset>
						<div class="submit">
							<div>
								<input type="submit" class="inputSubmit" value="Submit" />
							</div>
						</div>
					</fieldset>
			</form>
			</div>				
			<div class="grid_3 omega">
			</div>
		</div>
		<div class="clear"></div>
		<!--  end center section -->
<%@ include file="/WEB-INF/jsp/includes/footer.jsp"%>		